﻿using System;

class Program
{
    static void Main()
    {
        int first = int.Parse(Console.ReadLine());
        int second = int.Parse(Console.ReadLine());
        int third = int.Parse(Console.ReadLine());
        if (first > 0)
        {
            Console.WriteLine("First: +");
        }
        else
        {
            Console.WriteLine("First: -");
        } 
        if (second > 0)
        {
            Console.WriteLine("Second: +");
        }
        else
        {
            Console.WriteLine("Second: -");
        }
        if (third > 0)
        {
            Console.WriteLine("Third: +");
        }
        else
        {
            Console.WriteLine("Third: -");
        }
    }
}